import request from '@/utils/request'

// 获取订单设置
export const getOrderSetting = (id) => {
    return request({
        url: '/orderSetting/' + id,
        method: 'get',
    })
}

// 更新订单设置
export const updateOrderSetting = (id, data) => {
    return request({
        url: '/orderSetting/update/' + id,
        method: 'post',
        data: data
    })
}
